package com.masterclient.app.modules.aftersale.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.aftersale.AfterSaleDetailData;
import com.eoner.baselibrary.bean.aftersale.AfterSalePurchaseBtnData;
import com.masterclient.app.base.ProgressLoginDialog;

/**
 * 作者：sean
 * 创建时间：2017/8/2 01:06
 * 功能说明：
 */

public interface AfterSalePurchaseDetailContract {

    interface View extends BaseView {

        void showAfterSaleInfo(AfterSaleDetailData dataBean);

        void showRefundBtn(int type, AfterSalePurchaseBtnData btnData);

        void showResult(int type, boolean isSuccess);

    }


    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void afterSaleDetail(String order_id, String order_product_id);

        public abstract void closeAfterSale(String refund_id);

        public abstract void getRefundBtn(int type, String refund_id, ProgressLoginDialog progressLoginDialog);

    }

}